عندما تقوم بمقارنة النصوص string في السي شارب فإن عملية المقارنة تكون حساسة لحالة الاحرف حتى وان كنت تقوم بمقارنة متغيرين لهما نفس الكلمة مع اختلاف في حالة الحروف سوف تكون نتيجة المقارنة false
مثلاً
string a="abc"; string b="ABC";
if(a==b) print("true");
else print("false");
حتى لو استخدمت الطريقة التالية للمقارنة if(a.Equals(b))
في كلا الطريقتين لن يتحقق الشرط وسيطبع false
لاكن اذا اردت المقارنة بغض النظر عن حالة الاحرف نستخدم معداد StringComparison
عندما تقوم بمقارنة النصوص string في السي شارب فإن عملية المقارنة تكون حساسة لحالة الاحرف حتى وان كنت تقوم بمقارنة متغيرين لهما نفس الكلمة مع اختلاف في حالة الحروف سوف تكون نتيجة المقارنة false
مثلاً
string a="abc"; string b="ABC";
if(a==b) print("true");
else print("false");
حتى لو استخدمت الطريقة التالية للمقارنة if(a.Equals(b))
في كلا الطريقتين لن يتحقق الشرط وسيطبع false
لاكن اذا اردت المقارنة بغض النظر عن حالة الاحرف نستخدم معداد StringComparison
Cryptoassets enthusiasts use this application for their trade activities, and they may make donations for this cause.If somehow Telegram do run out of money to sustain themselves they will probably introduce some features that will not hinder the rudimentary principle of Telegram but provide users with enhanced and enriched experience. This could be similar to features where characters can be customized in a game which directly do not affect the in-game strategies but add to the experience.
The S&P 500 slumped 1.8% on Monday and Tuesday, thanks to China Evergrande, the Chinese property company that looks like it is ready to default on its more-than $300 billion in debt. Cries of the next Lehman Brothers—or maybe the next Silverado?—echoed through the canyons of Wall Street as investors prepared for the worst.